Use the Fill option on the Animation menu to change the fill level in an object when an expression or tag value changes. The object's fill level is proportional to the minimum and maximum values specified for the expression. For example, if the value of the expression is halfway between its minimum and maximum values, the object will be half full.
You can attach fill animation to drawing objects only. The exceptions are the image and panel objects, which only support visibility animation.
Tip: |
|
Type a tag name or an expression that will evaluate to numeric values at run time. An expression is a mathematical or logical equation that returns a value. It can contain tag names, constants, and mathematical, relational, logical, and bitwise operators. A tag name can be used as an expression. When you use a tag name, the minimum and maximum expression values default to the tag's minimum and maximum values.
If you have specified a tag in the Expression box, click this button to use the tag's minimum and maximum values to define the range of values for the expression. If your expression contains more than one tag, the minimum and maximum values for the first tag will be used for the animation.
To use constant numeric values to define a range of values, click this button and specify values for minimum and maximum.
To define the range of values using one tag's value for the minimum and another tag's value for the maximum, click this button and then specify a tag for minimum and another for maximum. Using this option, when the display opens and animation for an object is started, the tags' values are read once to set the minimum and maximum values. The tags are not read again after the display is opened, nor are the minimum and maximum values for the animation changed, even if the tag values change.
The default values for this are 0 and 100, which means that when the expression returns the minimum value, the object will be empty and when it returns its maximum, the object will be completely full.
Type the percent the object is to be filled when the expression evaluates to its minimum value. The default is 0.
Type the percent the object is to be filled when the expression evaluates to its maximum value. The default is 100.
Select Left, Right, Up or Down for the fill direction. For example, if you choose Left, the object will fill from the right to the left side.
When you check this box the outline of the object remains constant while the inside fill varies.